[PWGUD] modify mc producer & dihadron codes - #17295
Conversation
miedema-11
commented
Aug 3, 2026
- an improved version for flow mc
- add event selection switch for dihadron
|
O2 linter results: ❌ 0 errors, |
|
Error while checking build/O2Physics/code-check for c651528 at 2026-08-04 19:05: Full log here. |
|
Hi, could you please merge the codes? Thank you very much |
|
@miedema-11 Why have you not fixed the errors? |
| using namespace o2::aod::rctsel; | ||
|
|
||
| #define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) Configurable<TYPE> NAME{#NAME, DEFAULT, HELP}; | ||
| #define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) Configurable<TYPE> NAME{#NAME, (DEFAULT), (HELP)}; // NOLINT(bugprone-macro-parentheses) |
There was a problem hiding this comment.
Why do you disable the error?
| kITSLayersAll, | ||
| kITSLayer0123, | ||
| kITSLayer3, | ||
| kCount_ITSLayersFlag |
There was a problem hiding this comment.
Follow naming conventions.
| TAxis* fPtAxis = nullptr; | ||
| std::vector<GFW::CorrConfig> corrconfigsTruth; | ||
| std::vector<GFW::CorrConfig> corrconfigsReco; | ||
| TRandom3* fRndm = new TRandom3(0); |
There was a problem hiding this comment.
- Why do you use dynamic memory allocation?
- Where is the object destroyed?
|
@miedema-11 The PR title does not tell me anything about which workflow or analysis is affected. |
|
Error while checking build/O2Physics/code-check for db0e755 at 2026-08-05 20:55: Full log here. |
|
I have already tried to fix some errors from code checks, but I don't really understand the other one and I still hope to keep mine for readability and future modification. Thank you so much |
|
Error while checking build/O2Physics/code-check for 9c466ef at 2026-08-06 09:33: Full log here. |